{% extends 'base.html' %}
{% block title %}
    <a class="navbar-brand" href="#"> 添加岗位信息 </a>
{% endblock %}
{% block content %}
<div class="content">
	<div class="container-fluid">
		<div class="row">
			<div class="col-md-12">
				<div class="card">
					<form id="allInputsFormValidation" class="form-horizontal"  method="post" >
						<div class="content">
							<h4 class="title">添加岗位信息</h4>

							<fieldset>
								<div class="form-group">
									<label class="col-sm-2 control-label">
										岗位名称<span style="color:red">*</span>
									</label>
									<div class="col-sm-6">
										<input class="form-control" type="text" name="postname" required="required" aria-required="true" autocomplete="off" >
									</div>
								</div>
							</fieldset>

							<fieldset>
								<div class="form-group">
									<label class="col-sm-2 control-label">岗位类型<span style="color:red">*</span></label>
									<div class="col-sm-10" style="margin-top: 10px">
                                        <input type="radio" data-toggle="radio" name="posttype" value="市场" checked="">市场
                                        <input type="radio" data-toggle="radio" name="posttype" value="营销">营销
                                        <input type="radio" data-toggle="radio" name="posttype" value="技术">技术
                                        <input type="radio" data-toggle="radio" name="posttype" value="管理">管理
									</div>
								</div>
							</fieldset>



							<fieldset>
								<div class="form-group">
									<label class="col-sm-2 control-label">
										编制
									</label>
									<div class="col-sm-6">
										<input class="form-control" type="text" name="establishment"   oninput="value = value.replace(/[^\d|xX]/g,'')" maxlength="3" autocomplete="off">
									</div>
								</div>
							</fieldset>

							

						</div>
						<div class="card-footer text-center">
							<input type="submit" name="submit" class="btn btn-info btn-fill" value="添加">
						</div>
					</form>
				</div>
			</div>
		</div>
	</div>
</div>
{% endblock %}